#!/bin/sh
#
# Start the service....
#

#创建ipc通信所需要的路径
mkdir /tmp/ipc/unixsock -p
mkdir /tmp/ipc/msgqueue -p
mkdir /tmp/ipc/msgqueue/peer -p
chmod 777 /tmp/ipc/unixsock
chmod 777 /tmp/ipc/msgqueue
chmod 777 /tmp/ipc/msgqueue/peer

search_service &
usleep 100
report_service &
sleep 1
stm32_service &

exit 0